package com.xiaojie.consumer;

import com.xiaojie.dubbo.api.UserService;
import com.xiaojie.dubbo.server.proxy.RpcClientProxy;

import java.lang.reflect.Proxy;

public class Test {
    public static void main(String[] args) {
        UserService userService= RpcClientProxy.create(UserService.class);
        String user = userService.getUser("123");
        System.out.println("user:"+user);
    }
}
